import {BasicColumn} from '/@/components/Table';
import {FormSchema} from '/@/components/Table';
import { rules} from '/@/utils/helper/validator';
import { render } from '/@/utils/common/renderUtils';
import { getWeekMonthQuarterYear } from '/@/utils';
//列表数据
export const columns: BasicColumn[] = [
  {
    title: '姓名',
    align: "center",
    dataIndex: 'name'
  },
  {
    title: '身份证号',
    align: "center",
    dataIndex: 'idCard'
  },
  {
    title: '现任职务',
    align: "center",
    dataIndex: 'position'
  },
  {
    title: '所在单位',
    align: "center",
    dataIndex: 'department'
  },
  {
    title: '奖惩记录',
    align: "center",
    dataIndex: 'awardPunish'
  },
];

// 高级查询数据
export const superQuerySchema = {
  name: {title: '姓名',order: 0,view: 'text', type: 'string',},
  idCard: {title: '身份证号',order: 1,view: 'text', type: 'string',},
  position: {title: '现任职务',order: 2,view: 'text', type: 'string',},
  department: {title: '所在单位',order: 3,view: 'text', type: 'string',},
  awardPunish: {title: '奖惩记录',order: 4,view: 'text', type: 'string',},
};
